package com.dragon.mmochat.model.activity;

public class MmochatDaoRole implements Comparable<MmochatDaoRole> {
	private int roleId;
	private long skyId;
	private String name;
	private int dao = 0;

	public int getRoleId() {
		return roleId;
	}

	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}

	public long getSkyId() {
		return skyId;
	}

	public void setSkyId(long skyId) {
		this.skyId = skyId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getDao() {
		return dao;
	}

	public void setDao(int dao) {
		this.dao = dao;
	}

	@Override
	public int compareTo(MmochatDaoRole o) {
		return o.getDao() - dao;
	}

}
